home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 1 / Gold Medal Software Volume 1 (Gold Medal) (1994).iso / graphics / cpx.arj / CPXQA.TXT < prev    next >
Text File  |  1993-09-14  |  10KB  |  213 lines

  1. CPX Q&A, 1.1, 7 Sep 93
  2.  
  3. Prograph CPX was introduced at the 1st Annual Prographers Conference in 
  4. Halifax, NS, Aug 25-28. The following covers some Prograph CPX Questions & 
  5. Answers. I'll post revised versions as necessary till the Q and A stabilize - 
  6. send me your Qs.
  7. -- Mark Szpakowski, TGS Systems
  8.  
  9.  
  10. What is Prograph CPX?
  11. The Prograph language in a professional development environment, tuned for 
  12. corporate application building. It supports multi-file projects with a rich 
  13. application building class library.
  14.  
  15. Version Number?
  16. 1.0
  17.  
  18. What are the key features of CPX vs 2.5?
  19. o  A project structure, supporting multiple files, which can be shared among 
  20. different projects.
  21. o  A very rich class library  (the ABCs, Application Building Classes), 
  22. comparable in functionality to TCL or MacApp.
  23. o  A set of extensible object editors (the ABEs, Application Building 
  24. Editors), for dialog-driven or click 'n drag building of menus, windows, 
  25. documents, etc. These let you build large parts of your application, including 
  26. some of their behavior, with little or no programming.
  27. o  Support for callbacks ╤ Prograph methods can now be called by Toolbox or 
  28. other C or Pascal routines.
  29. o  Much enhanced help and info, which communicates with Think Reference¬ if 
  30. you have that on your machine (i.e., click on the name of a Toolbox call, hit 
  31. the Lookup button, and CPX will launch Think Reference and locate the info on 
  32. that call!).
  33. o  Numerous interface and environmental improvements (icon and list views, 
  34. unified Cut/Copy/Paste, object deletion via the delete key, etc.).
  35. o  New tutorial manual, and extensive User Guide and class library reference.
  36.  
  37. Hardware Requirements
  38. Any Macintosh with a 68020 CPU or better, and enough RAM memory to permit a 7 
  39. megabyte partition. Prograph CPX and the ABCs/ABEs will actually load in as 
  40. little as 6 megabytes RAM, but for any serious work you should allow 7 
  41. megabytes.
  42. NOTE:  applications produced with CPX will run on any Macintosh, from the 
  43. Classic upwards. The size of the partition required will depend on the 
  44. application.
  45.  
  46. The CPX software and examples as shipped de-compress to 14 megabytes of disk 
  47. space. Allowing 20 megabytes on disk for CPX development is probably a good 
  48. idea.
  49.  
  50. Software Requirements
  51. Macintosh System 6 or System 7.
  52.  
  53. Compiled Code Size
  54. Minimum size of an application using the ABCs is 150K (in 2.5 it was 186K). 
  55. The CPX optimizing compiler strips out unused classes and methods. The size of 
  56. generated code is smaller, and grows less quickly, than it did with 2.5.
  57.  
  58. Code Speed
  59. Significant speed improvements have been made both to the CPX interpreter and 
  60. to the optimizing compiler (which builds your final stand-alone application). 
  61. Depending on the nature of your code, you will find speed increases of up to 7 
  62. times.
  63.  
  64. Printed Documentation
  65. New Tutorial, plus User Guide, ABCs Reference, Extensions Reference and 
  66. Migration Procedures.
  67.  
  68. Is Think Reference bundled with CPX?
  69. No.
  70.  
  71. Shipping Date
  72. Approximately end of September. If you order now, TGS Systems will bill or 
  73. invoice you 4 weeks prior to shipment.
  74.  
  75. Will 2.5 Extension Products work with CPX?
  76. Yes, the C Interface, Pascal Interface, Comm Toolbox, SQL Interface/DAL and  
  77. ORACLE Interface all work.  Even the Visual Effects Manager will work with a 
  78. bit of tweaking (it was designed to work with a 2.5 Canvas class, which no 
  79. longer exists in CPX). However, the examples provided on the Extensions disks 
  80. were written with 2.5 System Classes, and won't run in CPX.
  81.  
  82. Prices/Ship Dates for CPX Versions of Extension Products
  83. Not available yet.
  84.  
  85. Educational Pricing
  86. 2.5 will continue to be sold into the education market until a CPX equivalent 
  87. (i.e., smaller, less expensive version of CPX 1.0 aimed at students and people 
  88. learning the language) is available.
  89.  
  90. Is CPX more difficult to learn/use than 2.5?
  91. Remains to be seen, but probably is easier. The CPX environment is cleaner and 
  92. more intuitive that 2.5's (list as well as iconic views in most windows, 
  93. unified cut/copy/paste for text and for objects, deletion via delete key, 
  94. better navigation aids, visible flags on breakpointed operations, click-hold 
  95. on executed roots or opers to view data on them, behavior editors for 
  96. specifying how objects respond to events, etc), but on the other hand is 
  97. larger and more complex (dozens of sections, much bigger set of classes), with 
  98. a correspondingly longer learning curve. On the other side of the learning 
  99. curve is far greater ease of development.
  100.  
  101. Training
  102. CPX training is being currently being conducted at several companies, 
  103. providing a testing ground for courses that will be available starting in 
  104. October.
  105.  
  106. Third party books
  107. Dan Shafer's "The Power of Prograph" should be out by November or December.  
  108. Several other books are in planning stages.
  109.  
  110. Textbook
  111. Kevin Carver and Scott Steinman's "Introduction to Visual Object-Oriented 
  112. Programming in Prograph" is being revised for CPX, and will then be published.
  113.  
  114. User Groups
  115. Bay Area Prographers Users Group has well-attended monthly meetings (up to a 
  116. hundred people) (contact shafer@well.sf.ca.us or davec@netcom.com). A 
  117. NorthEast Area group is being formed by Michael Flickman 
  118. (flickman1@applelink.apple.com).
  119.  
  120. Newsletter
  121. Visual News, published by Visual Programming Inc (VPI), 2025 Marconi Ave., 
  122. Sacramento, CA  95821, (916) 646-4227. Internet: patrick@vpinc.com. $24 for 1 
  123. year (12 issues) Premiere issue has six pages chock full of info on CPX, 2.5 
  124. database issues, etc.
  125.  
  126. Can you directly integrate C or Pascal code into CPX?
  127. The "Not An Upgrade" letter said "Full compatibility with Think and MPW C and 
  128. Pascal libraries", leaving the impression with some people that the C and 
  129. Pascal Interface extension products are no longer necessary. This is not the 
  130. case ╤ the C and Pascal Interfaces are necessary in order to make calls into C 
  131. and Pascal libraries.
  132.  
  133. Can I upgrade my Prograph 2.5 app to CPX?
  134. There is a source code translator that is included with the CPX package which 
  135. lets you move 2.5 code into the CPX environment (i.e., it lets CPX read 2.5 
  136. code). All your logic code written in Prograph 2.5 will work without 
  137. modification, except for some changes in a few primitives.
  138.  
  139. However, applications written with 2.5 System Classes will not run in CPX, 
  140. because CPX uses an entirely different class library (the ABCs). A $49 
  141. application framework translator, basically a System Classes "migrator", will 
  142. be available by October. It will include a set of 2.5 Compatibility Classes 
  143. which run inside the CPX environment, and a utility to morph your 2.5 System 
  144. Classes into these new CPX classes. Thus this ╥2.5-CPX Morph╙ class system 
  145. will let you run your 2.5  System Classes apps with in CPX. 
  146.  
  147. However, although the 2.5 Compatibility Classes are written using the ABCs, 
  148. they are their own, class system, serving as an alternative to the ABCs. The 
  149. application framework translator is not a "2.5-ABC Morph", a hypothetical 
  150. beast which would turn your System Classes apps into ABCs apps. 2.5-CPX Morph 
  151. will let you run your 2.5 apps in the CPX environment, but that is different 
  152. from saying that it will make them fully compatible with the CPX ABCs.
  153.  
  154. Will source for ABCs be provided?
  155. Not decided yet.  Most likely scenario is yes.
  156.  
  157. Source for Object Editors?
  158. Not decided yet. Most likely scenario is no, except for a few sample editors.
  159.  
  160. Database Engine
  161. Unchanged except for bug fixes and inclusion of debug code.
  162.  
  163. Database Strategy
  164. A key goal is to provide the high-level database tools (data-aware windows, 
  165. visual SQL code generator, report generator, etc) to fully enable database 
  166. development in CPX. TGS Systems is investigating server partners to be 
  167. part of a complete Client/Server solution, and also possibly to
  168. replace the current Datafile Engine as a local database (where the server runs on the 
  169. same machine as the client). Support for DAM/DAL is being strengthened, and 
  170. Sybase will be added as a direct API.
  171.  
  172. Apple Events and AppleScript
  173. High-level support for the core Apple Events, and low-level support for Apple 
  174. Events in general, are part of CPX and ABCs 1.0. By February 1994 we will 
  175. provide full high-level support, in the synchro-mesh fashion you're growing 
  176. accustomed to, for making your applications Scriptable, Recordable and 
  177. Attachable.
  178.  
  179. Interrupt-driven Callback routines?
  180. No ╤ you can't have those if memory will be moved, which it very well might be 
  181. inside your Prograph method.
  182.  
  183. How do the ABCs compare with TCL or MacApp?
  184. According to Kurt Schmucker, who did a presentation on the topic at the 
  185. Prographers Conference in late August, comparable in extent and functionality 
  186. to TCL or MacApp. The object editors have no equivalent in TCL or MacApp; they 
  187. extend your functionality to a different dimension, letting you lay out both 
  188. appearances and behaviors on a high level.
  189.  
  190. What's a "Behavior Editor"?
  191. A high level, dialog driven editor that lets you take a selected object (such 
  192. as a button) and describe what happens when an event (usually a click on it) 
  193. occurs. Most often the behavior includes a focus object (such as a scrolling 
  194. list in the same window), a method belonging to that object (e.g., /Attach R), 
  195. and, and "input specifiers" that let you pick the relevant objects that will 
  196. be inputs to the method (e.g., the scrolling list and the value of an edit 
  197. text box in the window). This is the familiar "Folks Database" example. Thus 
  198. with the Behavior Editor you can tell the button to respond to a click by 
  199. using the Scrolling List's /Attach R method, and that method should get 
  200. as inputs the Scrolling List itself and the text entered into the Edit Text 
  201. field, with the result that the text gets appended as the last item in the 
  202. scrolling list. In effect you've defined how some things will happen without 
  203. actually even coding in Prograph. 
  204.  
  205. Moving apps written with ABCs to Windows?
  206. If you use the ABCs, and don't make Mac-specific calls, you'll be portable 
  207. with minimum effort. TGS Systems is currently porting Prograph CPX to Windows 
  208. (NT and WIN32s), PowerPC (native-mode under System 7), and Unix (X-Windows and 
  209. Motif), in order to support cross-platform application development and  
  210. generation.
  211.  
  212.  
  213.